#ifndef __CARD_H__
#define __CARD_H__
#import <Foundation/Foundation.h>

typedef enum CardType {
    TYPE_NONE = 0, CLUBS,
    DIAMONDS, HEARTS, SPADES
} CardType;

typedef enum CardValue {
    VALUE_NONE = 0, ACES, TWO, THREE, FOUR, FIVE,
    SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING
} CardValue;

@interface Card : NSObject {
    CardType  type;
    CardValue value;
}

+ (NSString*) stringfyCardType: (Card*) c;
+ (NSString*) stringfyCardValue: (Card*) c;
- (id) init;
- (Card*) initWithType: (int) t;
- (Card*) initWithValue: (int) v;
- (Card*) initWithType: (int) t AndValue: (int) v;
- (int) getCardType;
- (int) getCardValue;
@end

#endif
